home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1511 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  48 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. X-Newsreader: UMSZer V2.22 public
  3. Mime-version: 1.0
  4. Content-Type: text/plain; charset=iso-8859-1
  5. Content-Transfer-encoding: 8BIT
  6. Path: news.tng.oche.de!tomate.tng.oche.de
  7. X-Gateway: ZCONNECT UE utomate.tng.oche.de.tomate.tng.oche.de [PolyNet zTOr V4.901 Serie: "light"]
  8. Subject: How to get right SIGL with 'rx script' ?
  9. Date: Fri, 19 Jan 96 12:42:24 GMT
  10. Message-ID: <68771172@0humpty.tomate.tng.oche.de>
  11. From: humpty@TOMATE.TNG.OCHE.DE (Andreas Mixich)
  12.  
  13.  
  14.     Hi,
  15.  
  16. I use to have a hotkey in my texteditor which runs the current arexx-script
  17. I am editing. The docname will be queried from the ed, the script saved
  18. with a temp_name in t: and execute from there. This is an Arexx macro
  19. itself. It works fine. Now I was trying to do this:
  20.  
  21. on error,failure,syntax etc:
  22. goto line SIGL
  23.  
  24. This way I could be brought to the line where the error occured, similare
  25. to integrated compilers.
  26.  
  27. Well, the problem is, that I start the temp file using
  28. ADDRESS COMMAND 'rx t:temp_file'. I may get a
  29.  
  30. +++error 5 in line 456: Unmatched quote.
  31.  
  32. but the command returns to the Arexx macro it was executed from with a
  33. different SIGL (of course), something like
  34.  
  35. error in line 27, label not found.
  36.  
  37. Line 27 is ADDRESS COMMAND 'rx t:temp_file'
  38.  
  39. Have you any ideas how to parse the first error line  ?
  40.  
  41. -- 
  42. Ciao, Andreas
  43. Internet: humpty@tomate.tng.oche.de
  44. FIDO    : 2:244/1544.14
  45.  
  46. HAL 9000:  "Help me, Dave.  I can't run under Windows, Dave."
  47.  
  48.